#ifndef dq_Town_h
#define dq_Town_h

#include "Record.h"

namespace serika
{
	namespace db
	{
		class Town;
	}

	namespace dq
	{
		class Town
		{
			typedef Record<db::Town> Db;

			Town(db::Town* town, TransientState::Enum state);
		public:
			~Town();

			static Town* FromDb(db::Town* town);

		public:
			int GetId() const;
			const ut::String& GetChinessName() const;
			const ut::String& GetJapanessName() const;
			const ut::String& GetSellItems() const;

			void Save() {}
			void Delete() {}

		private:
			Db* mDb;
		};
	}
}

#endif
